#include "theme_util.h"
themeHelper::themeHelper(){}
themeHelper::~themeHelper(){}
void themeHelper::setTheme(QWidget *widget)
{
    if(widget!=nullptr){
        MotifWmHints hints;
        hints.flags = MWM_HINTS_FUNCTIONS|MWM_HINTS_DECORATIONS;
        hints.functions = MWM_FUNC_ALL;
        hints.decorations = MWM_DECOR_BORDER;
        XAtomHelper::getInstance()->setWindowMotifHint(widget->winId(), hints);
    }
}
